<style>
    .information .stats a {
        width: 220px;
        text-align: right;
        display: inline-block;
        font-weight: bold;
        font-style: 1.2em;
    }

    .information .stats span {
        margin-left: 10px;
    }
</style>
<div class="project-block">
  <div class="img-tag">
    <%= link_to image_tag('../images/avatars/Project/0', :class => 'avatar2'), open_source_project_path(project), :onclick => "return click_project_img_in_project_list(this,'#{request.session_options[:id]}','#{i+1}');" %>
  </div>
  <div class="wiki-description">
      <%#= textilizable(project.short_description, :project => project) %>
      <%= show_project_descriptions project.description, 300 %>
  </div>

  <div class="information">
    <p class="stats">
      <!--%= link_to project_info.followers_num, open_source_project_path(project) %-->
      <a>
        <!-- <%= (project.relative_memos_num.nil?)?0:project.relative_memos_num.to_i %> -->
      </a>
      <!-- <%= content_tag('span', l(:label_x_relative_topics_count, :count => 0)) %> -->
    </p>

   
    

    <p class="stats">
      <!--%= link_to project_info.visit_num, open_source_project_path(project) %-->
      <a>
        <!-- <%= short_num (project.view_num_ossean.nil?)?0:project.view_num_ossean %> -->
        <%#= short_num ((project.view_num.nil?)?0:project.view_num)+project.view_num_ossean+project.relative_topics.sum('view_num') %>
      </a>
      <%#= content_tag('span', l(:label_view_num)) %>
    </p>
    <!--<p class="stats">-->
    <!--%=link_to project.code_line %-->
    <!--%= content_tag('span',  "行代码") %-->
    <!--</p>-->
  </div>


</div>
<div class="add-info">
  <!--<div class="main-language">-->

  <!--<%= content_tag('span', "#{l(:default_role_manager)}: ") %>-->

  <!--</div>-->
  <div class="licences">
    <%= content_tag('span', "#{l(:label_create_time)}: ") %>
    <%= content_tag('span', project.created_time.to_s[0,10]) %>
  </div>

</div>
<div class="tags">
  <div id="tags">
    <%= image_tag("/images/sidebar/tags.png") %>
    <%= render :partial => 'tags/tag_name', :locals => {:obj => project, :object_flag => "8", :non_list_all => true} %>
  </div>
</div>
